<template>
	<view class="box">
		<view class="eqBox" @click="toText('safetyTraining')">
			<u-image :src="require('../../static/iconSafetyTraining.png')" width="128rpx" height="168rpx"></u-image>
			<view class="scan">安全培训</view>
		</view>
		<view class="eqBox" @click="toText('testInformation')">
			<u-image :src="require('../../static/iconTestInformation.png')" width="128rpx" height="168rpx"></u-image>
			<view class="scan">考试信息</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			toText(e){
				uni.navigateTo({
					url:"./"+e
				})
			}
		}
	}
</script>

<style>
	.box{
		box-sizing: border-box;
		padding: 50rpx;
		display: flex;
	}
	.eqBox {
		margin-right: 48rpx;
		width: 128rpx;
		text-align: center;
	}

	.scan {
		font-family: PingFangSC-Regular;
		font-weight: Regular;
		font-size: 32rpx;
		color: #414A53;
		text-align: center;
	}
</style>
